#include "levels.h"
#include "ui_levels.h"

levels::levels(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::levels)
{

    ui->setupUi(this);
}

levels::~levels()
{
    delete ui;
    delete Game;

}

void levels::on_toolButton_clicked()
{
    Game=new game(nullptr,3);
    Game->resize(960,768);
    Game->show();
}


void levels::on_toolButton_3_clicked()
{
    Game=new game(nullptr,1);
    Game->resize(960,768);
    Game->show();
}


void levels::on_toolButton_2_clicked()
{
    Game=new game(nullptr,2);
    Game->resize(960,768);
    Game->show();
}


void levels::on_toolButton_4_clicked()
{
    Game=new game(nullptr,4);
    Game->resize(960,768);
    Game->show();
}

